home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / comm / cnet / MS_Credits_62.lha / +credits.doc next >
Text File  |  1994-10-28  |  8KB  |  185 lines

  1.                          C-Net ** 2.62+ ** Credits
  2.                    Written by Ray Akey (AKA Heavy Metal)
  3.                            The Metal Shoppe BBS
  4.                                519-255-7378
  5.  
  6.  
  7. ** CHANGES 6.2:
  8. ----------------
  9. 1. recompiled for C-Net version change (2.77+)
  10.  
  11.  
  12. ** CHANGES 6.1:
  13. ----------------
  14. 1. Small bug fix where PCredits was not opening P-Files/UD after a post.
  15.  
  16.  
  17. ** CHANGES 5.2:
  18. ---------------
  19. 1. Recompiled for version 2.19 of CNet Amiga.
  20.  
  21. ** CHANGES 5.0b:
  22. ----------------
  23. 1.  Now capable of using a Responses/Downloads ratio to judge whether
  24.     CreditsClose closes the UD and/or P-Files.
  25.  
  26.     New Files:
  27.     ----------
  28.     GoodRatio.message - Copy to SysText: and edit to your liking.
  29.                         If this file does not exist, the user is not notified
  30.                        that he/she has a good responses/dloads ratio.
  31.     
  32.  New Sysops: See INSTALLATION and Changes 4.0 for a description of where the
  33.              other files go.
  34.  
  35.  
  36. ** Changes 4.0:
  37. ---------------
  38. You can now set which access groups must post/respond before entering the
  39. Pfiles or UD..  And all aspects are fully configurable!
  40.  
  41. NEW files: Copy "ClosedPfiles.message" and "ClosedUD.message" to your SYSTEXT:
  42.            directory and edit them to your liking. If they do not exist, no
  43.            problem, no messages will be displayed to the user at login to
  44.            tell him/her that the pfiles, UD or both are closed if their access
  45.            is not included in "sysdata:credits.data" (more on this later).
  46.   
  47. If you were previously using my CREDITS prgs and either the open pfiles or
  48. open UD "after reponse" options and have edited line 99 of your bbstext to
  49. include the follwing line:
  50.  
  51.                           \#2pfiles:CreditsClose\
  52.  
  53. ..then you must remove this line from this point of your BBSTEXT!!!!
  54.  
  55. CreditsClose is now performed at login to close the UD/Pfiles, or both,
  56. depending on the user's access.
  57.  
  58. Search for the line of BBSTEXT that says something to the effect of
  59. "@ Logon complete"..  And add the following so it reads as such:
  60.  
  61. \#2pfiles:CreditsClose\Scan for new files, etc,...
  62.  
  63. ^^^^^^^^^^^^^^^^^^^^^^^ must be EXACT, the rest may read different depending
  64. on whether you've edited it previously. I've chosen this point as it is not
  65. abortable here by the user as it may be in sys.welcome or any other place.
  66.  
  67. Lines 9 and 10 of "sysdata:Credits.data" should be edited to contain typical 
  68. C-Net notation access that you wish to enter the pfiles or UD without posting 
  69. or responding.. Both lines may be set different. Use access configurations in
  70. the following C-Net format.
  71.  
  72.                     1-3,9    <-- would allow ACCESS groups 1,2,3 and 9 in without
  73.                             forcing a post or response but all other groups
  74.                             MUST post/respond or both (depending on your other
  75.                             credits.data settings.
  76.  
  77. After doing ALL of the above, quit and reload C-Net to put the new CREDITS
  78. programs into effect.
  79.  
  80. NOTE: YOU NO LONGER HAVE TO "SAVE CONFIG" WITH THE PFILES OR UD CLOSED,
  81.       therefore, the C-Net config settings have no effect on this program!
  82.       Although, if you have to close your UD for technical problems, it would
  83.       be wise to set the "open UD after response" option off so that the UD is
  84.       not opened when you wish it closed for maintenance or other purposes.
  85.       Same thing for the Pfiles, if enabled.
  86.  
  87.  
  88. INSTALLATION:
  89. -------------
  90.  Copy pcredits, rcredits and CreditsClose to your Pfiles directory.  Load up
  91. CED or some other EMacs type text editor and look for line 400 of your BBSTEXT
  92. which reads "Item Filing" or something like that and change it to (or add to
  93. it):
  94.  
  95.    \#2pfiles:pcredits\
  96.  
  97. Now look for line 478 that says "Response filing"  and change it to
  98. (or add to it):
  99.  
  100.    \#2pfiles:rcredits\
  101.  
  102. and that's it for the program itself..  Now on to the data file...
  103.  
  104.  
  105. CREDITS.DATA
  106. ------------
  107.  This file MUST be in your "sysdata:" directory and it contains the following
  108. information:
  109.  
  110. line 1: open pfiles after response,   0 = don't care, 1 = yes
  111.         if YES (1), the program "CreditsClose" must be used. More 
  112.         on CREDITSCLOSE below..
  113. line 2: open UDBase after response,   0 = don't care, 1 = yes
  114.         if YES (1), the program "CreditsClose" must be used.
  115. line 3: Use Pfile points or UDBytes.  0 = UDbytes, 1 = Pfile points.
  116. line 4: Bypass credit awarding.       0 = no, 1 = bypass
  117. line 5: is the initial value in BYTES that is awarded for posting.
  118. line 6: is the number of credits added per word and after calculated, the value
  119.         in line 1 is added to the total word credits.
  120. line 7: is the initial value in BYTES also that is awarded for responding.
  121. line 8: is the number of credits to add per word and is calculated in 
  122.         the same manner as the values awarded in line 5 & 6 were.
  123. line 9: is the access to allow INTO the UD without posting/responding first.
  124. line 10:is the access to allow INTO the PFILES without posting/responding first.
  125. line 11:is the MINIMUM responses/downloads ratio before bypassing CreditsClose.
  126.         values from 0-50 acceptable (0=bypass ratio check)
  127.  
  128.  If line 1 was 1000 (1k) and line 2 was 10..  If a user made a response with
  129. 10 words in it, he would receive (10 words x 10 bytes) + 1000 bytes or 1100
  130. (1.1k) bytes worth of credits..  If you want to bypass the word value and just
  131. award a non-changing value for posting and/or responding, put a 0 in lines 2
  132. and 4 and make lines 1 and 3 the value you wish to give the user for his posts
  133. and responses (respectively).
  134.  
  135. Lines 9 and 10 should contain typical C-Net notation access that you wish to
  136. enter the pfiles or UD without posting or responding (bypassing mandatory
  137. posting/responding).
  138.  
  139.                     1-3,9    <-- would allow ACCESS groups 1,2,3 and 9 in without
  140.                             forcing a post or response.
  141.  
  142. There are notes to this effect in the credits.data file that I have included in
  143. the Credits.lzh file and may be left there for future reference. Also, see the
  144. "Changes" at the top of this file.
  145.  
  146.  
  147. CREDITSCLOSE:
  148. -------------
  149.  If you want users to post/respond before entering either the P-Files or UDBase,
  150. or BOTH, set the proper line in Credits.data to a 1..  Both can be set to a "1"
  151. at the same time if you choose both the UDBase AND pfiles to be opened after
  152. a response or post.
  153.  
  154.  This is where "CreditsClose" comes in..  Due to the way C-Net is set up,
  155. the pfiles and UD cannot be set to close when a user logs in without this
  156. additional program so, add CreditsClose to your bbstext at the line
  157. where the string "Scan files base for new?" is (line 308) as follows:
  158.  
  159. \#2pfiles:CreditsClose\Scan files base for new
  160.  
  161. ^^^^^^^^^^^^^^^^^^^^^^^ MUST BE EXACT!! The rest of the line may depend on 
  162.                         whether you have previously edited BBSTEXT at this 
  163.                         point or not.
  164.  
  165.  This line will ensure that the pfiles and/or UD is closed when the next user
  166. logs in and will remain closed until they either POST or RESPOND. If you set 
  167. only the Pfiles option to a 1, then only the Pfiles will be closed after
  168. CreditsClose is finished, if you set the udbase option to a 1, then only the UD
  169. will be closed after CreditsClose is complete.  And finally, if you set BOTH
  170. UD and pfiles options to a "1", then BOTH will be closed when the user logs on
  171. unless you have set lines 9 and 10 of credits.data to bypass their access group.
  172.  
  173.  
  174.  In future versions, a specific number of posts/responses per call can be 
  175. specified before either of the two will be opened. AND will allow specific
  176. accounts to bypass the restrictions in effect. Still working on these..
  177.  
  178.  
  179.  Hope you enjoy C-Net Credits and please address any comments to Heavy Metal
  180. on Future World or call my BBS:
  181.  
  182.                              The Metal Shoppe
  183.                        519-255-7378 (12-2400 baud)
  184.                        519-256-0278 (2400-19200 baud)
  185.